Object collection: illegal modification -- collection is read-only (Error 40049)

You attempted to programmatically modify the contents of an RDO collection. This RDO collection is read-only.

To avoid this error, do not attempt to modify the contents of this type of  RDO collection. For this type of collection, Items are added to the collection automatically, and they are removed when the Close or Remove methods for an object are invoked.